package com.ymm.lulutong.mapper;

import com.ymm.lulutong.entity.Address;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author zikang.yao
 * @Description TODO
 * @Date 2022/8/15 18:11
 * @Version 1.0
 */

@Mapper
public interface ShipperAddressMapper {

    void saveOftenAddress(Address address);

    boolean deleteAddress(Long addressId);

    List<Address> listAllAddress(Long shipperId);

    Address getByAddressId(Long addressId);
}
